{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "99c53ec2",
   "metadata": {},
   "source": [
    "##  课程表"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "id": "36c2e592",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "课程表\n",
      "3\n",
      "星期四\n",
      "课程名称：毛泽东思想和中国特色社会主义理论体系概论\n",
      "授课教师：杨益孜\n",
      "上课时间：14：00 - 16：50\n",
      "课程地点：7-402\n",
      "\n"
     ]
    }
   ],
   "source": [
    "print(\"课程表\")\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "print(week_time)\n",
    "if week_time==0:\n",
    "    print(\"星期一\")\n",
    "    print(\"课程名称:太极拳\")\n",
    "    print(\"授课教师：陈清华\")\n",
    "    print(\"上课时间：08:00 - 09:30\")\n",
    "    print(\"课程地点：东区武术馆\")\n",
    "    print(\"课程名称:大英（三）\")\n",
    "    print(\"授课教师：王瑾妍\")\n",
    "    print(\"上课时间：10:35 - 12:00\")\n",
    "    print(\"课程地点:10-204\")\n",
    "    print(\"课程名称:Python语言\")\n",
    "    print(\"授课教师：许志超\")\n",
    "    print(\"上课时间：14:00 - 16:50\") \n",
    "    print(\"课程地点:2实-203\")\n",
    "elif week_time==1: \n",
    "    print(\"星期二\")\n",
    "    print(\"课程名称：创业基础\")\n",
    "    print(\"授课教师：高进\")\n",
    "    print(\"上课时间：09:45 - 12:00\")\n",
    "    print(\"课程地点：1-205\")\n",
    "    print(\"课程名称：新媒体时代的新闻评论\")\n",
    "    print(\"授课教师：高进\")\n",
    "    print(\"上课时间：14:00 - 15:55\")\n",
    "    print(\"课程地点：3实-206\")\n",
    "elif week_time==2:\n",
    "    print(\"星期三\")\n",
    "    print(\"课程名称：融合新闻学\")\n",
    "    print(\"授课教师：高进、胡美香\")\n",
    "    print(\"上课时间：09：45 - 12：00\")\n",
    "    print(\"课程地点：新综合楼-612\")\n",
    "    print(\"课程名称:大英（三）\")\n",
    "    print(\"授课教师：王瑾妍\")\n",
    "    print(\"上课时间：18:45 - 20:10\")\n",
    "    print(\"课程地点:10-204\")\n",
    "elif week_time==3:\n",
    "    print(\"星期四\")\n",
    "    print(\"课程名称：毛泽东思想和中国特色社会主义理论体系概论\")\n",
    "    print(\"授课教师：杨益孜\")\n",
    "    print(\"上课时间：14：00 - 16：50\") \n",
    "    print(\"课程地点：7-402\")      \n",
    "elif week_time==4:\n",
    "    print(\"星期五\")\n",
    "    print(\"课程名称：Illustrator\")\n",
    "    print(\"授课教师：阚凤霞\")\n",
    "    print(\"上课时间：08：00 - 09：30\")\n",
    "    print(\"课程地点：新综合楼-612\")\n",
    "    print(\"课程名称：毛泽东思想和中国特色社会主义理论体系概论（实践）\")\n",
    "    print(\"授课教师：杨益孜\")\n",
    "    print(\"上课时间：10：35 - 12：00\") \n",
    "    print(\"课程地点：7-402\")  \n",
    "else:\n",
    "    print(\"周六\");print(无课)\n",
    "print(\"\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "id": "e30ed02a",
   "metadata": {},
   "outputs": [],
   "source": [
    "import datetime"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "id": "601a6f23",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "3"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "datetime.datetime.today().weekday()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "58215338",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
